package com.wondedDream.service;

import com.wondedDream.model.PracticeQuestion;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface PracticeQuestionService {
    PracticeQuestion savePracticeQuestion(PracticeQuestion question);
    PracticeQuestion getPracticeQuestionById(Integer id);
    List<PracticeQuestion> getPracticeQuestionsByPracticeId(Integer practiceId);

    void deletePracticeQuestion(Integer id);

    PracticeQuestion updatePracticeQuestion(PracticeQuestion practiceQuestion);

    void createMockExamQuestionByFileJson(String localPath,Integer courseCategoryId,String practiceName);
}